package where2go.sctu.com.zhiyou.db;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import de.hdodenhof.circleimageview.CircleImageView;
import where2go.sctu.com.zhiyou.R;

/**
 * ProjectName: zhiyou
 * PackageName: where2go.sctu.com.zhiyou.db
 * Created by 张某人
 * CreatedTime:on 2018/5/7   18:59
 * Description: 动态ViewHolder
 */

public class DynamicViewHolder extends RecyclerView.ViewHolder {

    public CircleImageView avatar;
    public TextView name;
    public TextView tTime;
    public TextView introduction;
    public TextView dynamicTitle;
    public ImageView imgOne;
    public ImageView imgTwo;
    public ImageView imgThree;

    public DynamicViewHolder(View itemView) {
        super(itemView);
        avatar=(CircleImageView) itemView.findViewById(R.id.dynamicAvatar);
        name=(TextView) itemView.findViewById(R.id.dynamicName);
        tTime=(TextView) itemView.findViewById(R.id.dynamicTime);
        introduction=(TextView) itemView.findViewById(R.id.dynamicIntroduction);
        /*imgOne=(ImageView) itemView.findViewById(R.id.dynamicImg1);
        imgTwo=(ImageView) itemView.findViewById(R.id.dynamicImg2);
        imgThree=(ImageView) itemView.findViewById(R.id.dynamicImg3);*/
        dynamicTitle=(TextView)itemView.findViewById(R.id.dynamic_title);
    }

}
